package com.asura.app.wechat;

import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.widget.TextView;

import com.asura.app.wechat.widget.WechatPullToRefreshLayout;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * Created by Asura on 2017/12/30.
 */

public class TestActivity extends Activity {
    @BindView(R.id.tv)
    TextView tv;
    @BindView(R.id.pull)
    WechatPullToRefreshLayout pull;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.test);
        ButterKnife.bind(this);
        tv.setOnClickListener(v -> {
            pull.setRefreshing(false);
        });
    }
}
